package com.redrose.videodemo.utils;

/**
 * EventBus消息标识符
 */

public class EventBusMessage {

    public static final int MSG_TYPE_EXIT_APP = 1;
    public static final int MSG_TYPE_GET_DOUYIN_DOWNLOAD_FINSH = 2;
    public static final int MSG_TYPE_GET_NEED_PUBLISH = 3;

    private int id;
    private Object obj;

    public EventBusMessage(int idcate, Object obj) {
        this.id = idcate;
        this.obj = obj;
    }

    public EventBusMessage(int idcate) {
        this.id = idcate;
    }

    public int getId() {
        return id;
    }

    public Object getObj() {
        return obj;
    }

    @Override
    public String toString() {
        return "EventBusMessage{" +
                "id=" + id +
                ", obj=" + obj +
                '}';
    }


}
